* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}

.main-section {
    width: 100%;
    background: white;
    padding: 15px 8%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
/* Navigation */
nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #f4b400;
}


#courseSelect {
    margin-left: 8px;
    padding: 9px 35px 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #222;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    min-width: 230px;
    transition: 0.3s;
    width: 100%;
    
}


#courseSelect:hover {
    border-color: #f4b400;
}


#courseSelect:focus {
    border-color: #123b6d;
    box-shadow: 0 0 0 3px rgba(18, 59, 109, 0.15);
}


#courseSelect optgroup {
    font-weight: bold;
    color: #123b6d;
}


#courseSelect option {
    padding: 10px;
    color: #222;
    background: #fff;
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    #courseSelect {
        width: 100%;
        min-width: 200px;
    }
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.logo h2 {
    color: rgb(0, 68, 255);
    font-size: 22px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: rgb(0, 68, 255);
}

.menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #151269;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.menu-btn:hover {
    background-color: #0b2b4d;
    transform: scale(1.03);
}

.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("images (1).png") center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
    color: #fff;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-btn,
.about-button {
    display: inline-block;
    padding: 13px 28px;
    background: rgb(0, 68, 255);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-btn:hover,
.about-button:hover {
    background: yellow;
    color: #111;
    transform: translateY(-2px);
}

.hero-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-btn.secondary:hover {
    background: #fff;
    color: #111;
}

.about-section {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px;
    background: rgb(0, 68, 255);
    
}



.about-content {
    max-width: 800px;
    color: white;
}

.about-content h2 {
    font-size: 38px;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-button {
    margin-top: 20px;
    background: white;
    color: #123c69;
}

.program-section,
.gallery-section,
.application-section,
.contact-section {
    padding: 80px 20px;
    text-align: center;
}

.program-section {
    background: #fff;
}

.program-section h2,
.gallery-section h2,
.application-section h2,
.contact-section h2 {
    font-size: 34px;
    margin-bottom: 25px;
    color: #111;
}
a{
    text-decoration: none;
    color: #f3f1f1;
}

.program-content {
    max-width: 1100px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.program-card {
    padding: 35px 25px;
    background: #f7f7f7;
    border-radius: 10px;
    border-bottom: 4px solid rgb(0, 68, 255);
    transition: 0.3s;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.program-card h3 {
    margin-bottom: 15px;
    color: #111;
}

.program-card p {
    color: #666;
}

.rewrite-section {
    background:  rgb(0, 68, 255);
    color: #fff;
}

.rewrite-section h2 {
    color: #fff;
}

.rewrite-section p {
    max-width: 700px;
    margin: 0 auto 25px;
}

.gallery-section {
    background: #f5f5f5;
}

.gallery {
    max-width: 1100px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.03);
}

.application-section {
    background: #fff;
}

.application-section p {
    margin-bottom: 30px;
    color: #666;
}

#applicationForm {
    max-width: 650px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#applicationForm input,
#applicationForm select,
#applicationForm textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
}

#applicationForm textarea {
    min-height: 130px;
    resize: vertical;
}

#applicationForm button {
    padding: 14px;
    background: rgb(0, 68, 255);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#applicationForm button:hover {
    background: #151269;
    transform: translateY(-2px);
}

.contact-section {
    background:  rgb(0, 68, 255);
    color: #fff;
}

.contact-section h2 {
    color: #fff;
}

.contact-section p {
    margin: 8px 0;
}

@media (max-width: 900px) {
    .main-section {
        padding: 15px 5%;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-top: 15px;
        background: #f5f5f5;
        border-radius: 5px;
        overflow: hidden;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        padding: 15px;
    }

    .nav-links li a:hover {
        background: rgb(0, 68, 255);
        color: white;
    }

    .program-content {
        grid-template-columns: 1fr 1fr;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 42px;
    }
}

.footer {
    background: #111;
    color: #fff;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px 50px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 45px;
}

.footer-column h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    background: #f5c400;
    margin-top: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.footer-logo h2 {
    color: #fff;
    font-size: 20px;
}

.footer-about p {
    color: #ccc;
    line-height: 1.7;
    max-width: 350px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #f5c400;
    padding-left: 5px;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #f5c400;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.social-links a {
    padding: 8px 14px;
    background: #151269;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #f5c400;
    color: #111;
}

.footer-bottom {
    border-top: 1px solid #333;
    max-width: 1200px;
    margin: auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: #f5c400;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 40px 25px;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-logo h2 {
        font-size: 17px;
    }
}

@media (max-width: 700px) {
    .logo img {
        width: 55px;
        height: 55px;
    }

    .logo h2 {
        font-size: 17px;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 200px;
    }

    .about-content h2,
    .program-section h2,
    .gallery-section h2,
    .application-section h2,
    .contact-section h2 {
        font-size: 28px;
    }

    .program-content {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery img {
        height: 250px;
    }
}

@media (max-width: 400px) {
    .main-section {
        padding: 12px 4%;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .logo h2 {
        font-size: 14px;
    }

    .menu-btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .about-content p {
        font-size: 16px;
    }
}
#programme {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    outline: none;
    transition: 0.3s ease;
}

#programme:hover {
    border-color: rgb(0, 68, 255);
}

#programme:focus {
    border-color: rgb(0, 68, 255);
    box-shadow: 0 0 0 3px rgba(0, 68, 255, 0.1);
}

#programme option {
    padding: 10px;
    background: #fff;
    color: #333;
}

#programme optgroup {
    background: #fff;
    color: #333;
    font-weight: bold;
}

#programme optgroup option {
    color: #333;
    font-weight: normal;
}

@media (max-width: 600px) {
    #programme {
        padding: 12px;
        font-size: 14px;
    }
}